package top.zsyle.sycc.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import top.zsyle.sycc.domain.Teacher;
import top.zsyle.sycc.mapper.TeacherMapper;
import top.zsyle.sycc.service.ITeacherService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 老师表 服务实现类
 * </p>
 *
 * @author zhongshiyi
 * @since 2022-12-31
 */
@Service
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, Teacher> implements ITeacherService {

    @Autowired
    private TeacherMapper teacherMapper;

    @Override
    public void batchDelete(List<Long> ids) {
        teacherMapper.batchDelete(ids);
    }
}
